package com.example.broadcastshareprefence;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.widget.Toast;

public class MyExampleReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Toast.makeText(context, "我是广播接收器100，我已接受到广播", Toast.LENGTH_LONG).show();
    }

}
